package com.itcast.dao;

import com.github.pagehelper.Page;
import com.itcast.pojo.Order;
import com.itcast.vo.OrderSettingListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @className: OrderDao
 * @description: TODO 类描述
 * @author: Jng
 * @date: 2022/4/15
 **/
public interface OrderDao {
    List<Order> findByCondition(Order order);
    void add(Order order);
     Map findById4Detail(Integer id);
     Integer findOrderCountByDate(String date);
     Integer findOrderCountAfterDate(String date);
     Integer findVisitsCountByDate(String date);
     Integer findVisitsCountAfterDate(String date);
     List<Map> findHotSetmeal();


    Page<OrderSettingListVO> findAll(@Param("queryString") String queryString);
}
